package com.springboot.dto;

import com.springboot.domain.BtFile;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class TaskDetailDTO {

    private String taskId;
    private String demandId;
    private String name;
    private String type;
    private String projectSize;            //新开发需求类型
    private String description;
    private String money;
    private Date deadline;
    private String tecQualification;        //技术资质要求
    private String busQualification;        //业务资质要求
    private String specReq;                 //特殊需求
    private String difficulty;             //难度系数
    private Date createTime;
    private String announcerId;
    private String announcerName;
    private String receiverId;
    private String receiverName;
    private List<BtFile> demandFiles;
    private List<BtFile> caseFiles;

    public TaskDetailDTO(String taskId, String demandId, String name, String type, String projectSize, String description, String money, Date deadline, String tecQualification, String busQualification, String specReq, String difficulty, Date createTime) {
        this.taskId = taskId;
        this.demandId = demandId;
        this.name = name;
        this.type = type;
        this.projectSize = projectSize;
        this.description = description;
        this.money = money;
        this.deadline = deadline;
        this.tecQualification = tecQualification;
        this.busQualification = busQualification;
        this.specReq = specReq;
        this.difficulty = difficulty;
        this.createTime = createTime;
    }
}
